const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '': {
        // target: "http://collect.ilovese.cn/",
        target: "http://175.24.226.64:8081",
        // target:"http://localhost:8081",
        changeOrigin: true,
        pathRewrite: {
          '^': ''
        }
      }
    },
  },
  configureWebpack: {
    externals: {
      '@antv/g6': 'G6'
    }
  }
})
